#!/usr/bin/python3
# coding: utf-8
# file: uuid_.py
# 2018-06-20
import uuid
import time

def next_id():
	'15个数字+32个字符+3个0'
	return '%015d%s000' % (int(time.time() * 1000), uuid.uuid4().hex)


print(next_id())
print(int(time.time() * 1000))
print('%015d' % int(time.time() * 1000))
print(uuid.uuid4().hex)